package org.finegold.core.discern.enums;

/**
 * <B>Description:</B> 方法请求地址类型
 *
 * @Author QinXueFeng
 * @Date 2020/9/10 9:29
 * @Version 1.0.10
 * @VersionList <pre>
 *    版本        修改人        修改日期        修改描述
 *    ------------------------------------------------------------
 *    1.0.10       QinXueFeng        2020/9/10 9:29        create
 *    ------------------------------------------------------------
 * </pre>
 */

public enum  MethodType {

	idCart("idCart","http://dm-51.data.aliyun.com/rest/160601/ocr/ocr_idcard.json"),

	custom("custom","https://ocrdiy.market.alicloudapi.com/api/predict/ocr_sdt"),

	businessLicense("businessLicense","https://dm-58.data.aliyun.com/rest/160601/ocr/ocr_business_license.json");


	MethodType(String type, String url) {
		this.type=type;
		this.url=url;
	}
	private String type;
	private String url;

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

}
